Bug 556527 - The current page property is not passed to GtkPrintUnixDialog
authorMarek Kasik <mkasik@redhat.com>
Thu, 16 Oct 2008 11:20:33 +0000 (11:20 +0000)
committerMarek Kašík <mkasik@src.gnome.org>
Thu, 16 Oct 2008 11:20:33 +0000 (11:20 +0000)
2008-10-16  Marek Kasik  <mkasik@redhat.com>

Bug 556527 - The current page property is not passed to
GtkPrintUnixDialog

* gtk/gtkprintoperation-unix.c: pass current-page property
to GtkPrintUnixDialog

svn path=/trunk/; revision=21660

ChangeLog
gtk/gtkprintoperation-unix.c

index 62ecea9db8077c35ed50a5d17f191105d182ceb0..95bc68ac7b9a3d66b9406ee1ff5ab2fcd86f4740 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-10-16  Marek Kasik  <mkasik@redhat.com>
+
+       Bug 556527 - The current page property is not passed to
+       GtkPrintUnixDialog
+
+       * gtk/gtkprintoperation-unix.c: pass current-page property
+       to GtkPrintUnixDialog
+
 2008-10-15  Michael Natterer  <mitch@imendio.com>
 
        * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
index 3a4545acd91a776ef138c7bf92e58de9445a2b11..99e047e4196ef8400062a631e96884b45ed0ff8f 100644 (file)
@@ -367,6 +367,9 @@ get_print_dialog (GtkPrintOperation *op,
     gtk_print_unix_dialog_set_page_setup (GTK_PRINT_UNIX_DIALOG (pd), 
                                           priv->default_page_setup);
 
+  gtk_print_unix_dialog_set_current_page (GTK_PRINT_UNIX_DIALOG (pd), 
+                                          priv->current_page);
+
   g_signal_emit_by_name (op, "create-custom-widget",
                         &priv->custom_widget);